package Yuoxi;
//农名
public class Farmer extends People implements Attack,Treat{
    public Farmer(String name,int leel){
        super(name,leel);
    }
    public void mine(){
        System.out.println("我可以挖矿");
    }

    @Override
    public Void attack() {
        System.out.println("我可以攻击");
        return null;
    }

    @Override
    public Void treat() {
        System.out.println("我可以治疗");
        return null;
    }
}
